-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revise MapAt[]
part 1
#1238
Revise MapAt[]
part 1
#1238
Conversation
My only comment here is that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As the code is currently written, Initially, my thought was that functions called eval_Xyy are likely to be the implementation of some future instruction set which would be used after compilation. But what I am coming to appreciate in doing the debugger work is that by making things regular in this particular way, it makes things easier on a debugger or some other similar introspection tool. If I want to show, track, or stop at key parts of execution, looking for in routines in And usually if I go up one level in a call stack often there will be an eval method which is also probably of interest. Sure, I understand that a lot of what is there now may have some historical precedent. And the name walk_xxx conveys some sort of idea and possibly groups things along some lines. In contrast to calling "elements", "leaves" or "eval" routines "apply", it is not a bad name or wrong, just not as helpful for the ways in which the code is currently envisioned to be organized in a way that makes it helpful to scale in the future. It may very well be that in the future we may move and rename "walk_levels". For example that may also be the bulk of some builtin-function evaluation routine as well. |
Miscellaneous lint for expanding and correcting
MapAt[]
mathics.eval.list.eol
since that is where it belongs